// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.common.model.OptionItem;
import com.fowo.api.entity.SupplierFlowFormRelation;
import com.fowo.api.model.supplier.flow.form.relation.SupplierFlowFormRelationItemVo;
import com.fowo.api.model.supplier.flow.form.relation.SupplierFlowFormRelationSearchParamPo;
import com.fowo.api.model.supplier.flow.form.relation.SupplierFlowFormRelationVo;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SupplierFlowFormRelationMapper
  extends BaseMapper<SupplierFlowFormRelation> {
  Page<SupplierFlowFormRelationItemVo> pageSearch(
    @Param("page") Page page,
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  List<OptionItem<SupplierFlowFormRelationItemVo>> searchOptions(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  List<SupplierFlowFormRelationItemVo> search(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Date searchLastUpdateTime(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  /**
   * 搜索满足条件的所有记录的编号列表
   * @param search 搜索参数
   * @return 编号列表
   */
  List<Long> searchIds(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  /**
   * 搜索满足条件的记录数量
   * @param search 搜索参数
   * @return 记录数量
   */
  Long searchCount(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Long getIdByFormId(@Param("formId") Long formId);

  List<Long> getIdsByFormId(@Param("list") List<Long> list);

  Long getFormIdById(@Param("id") Long id);

  List<Map<String, Object>> getFormIdByIds(@Param("ids") List<Long> ids);
  SupplierFlowFormRelationVo selectVoById(@Param("id") Long id);
  /**
   * 全部
   */
  List<SupplierFlowFormRelationItemVo> all(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取全部编号列表
   */
  List<Long> allIds(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取全部的总数
   */
  Long allCount(@Param("search") SupplierFlowFormRelationSearchParamPo search);

  /**
   * 全部分页
   */
  Page<SupplierFlowFormRelationItemVo> allPage(
    @Param("page") Page page,
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Date allLastUpdateTime(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  /**
   * 待处理
   */
  List<SupplierFlowFormRelationItemVo> pending(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取待处理编号列表
   */
  List<Long> pendingIds(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取待处理的总数
   */
  Long pendingCount(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 待处理分页
   */
  Page<SupplierFlowFormRelationItemVo> pendingPage(
    @Param("page") Page page,
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Date pendingLastUpdateTime(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  /**
   * 处理中
   */
  List<SupplierFlowFormRelationItemVo> processing(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取处理中编号列表
   */
  List<Long> processingIds(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取处理中的总数
   */
  Long processingCount(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 处理中分页
   */
  Page<SupplierFlowFormRelationItemVo> processingPage(
    @Param("page") Page page,
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Date processingLastUpdateTime(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  /**
   * 关于我
   */
  List<SupplierFlowFormRelationItemVo> aboutMe(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取关于我编号列表
   */
  List<Long> aboutMeIds(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取关于我的总数
   */
  Long aboutMeCount(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 关于我分页
   */
  Page<SupplierFlowFormRelationItemVo> aboutMePage(
    @Param("page") Page page,
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Date aboutMeLastUpdateTime(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  /**
   * 我发起
   */
  List<SupplierFlowFormRelationItemVo> start(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取我发起编号列表
   */
  List<Long> startIds(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取我发起的总数
   */
  Long startCount(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 我发起分页
   */
  Page<SupplierFlowFormRelationItemVo> startPage(
    @Param("page") Page page,
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Date startLastUpdateTime(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  /**
   * 转发我
   */
  List<SupplierFlowFormRelationItemVo> forwardMe(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取转发我编号列表
   */
  List<Long> forwardMeIds(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 获取转发我的总数
   */
  Long forwardMeCount(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );

  /**
   * 转发我分页
   */
  Page<SupplierFlowFormRelationItemVo> forwardMePage(
    @Param("page") Page page,
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
  Date forwardMeLastUpdateTime(
    @Param("search") SupplierFlowFormRelationSearchParamPo search
  );
}
